<div class="mobilepage">
<div class="mask" ng-show="show">
    <div class="order_mask">
        <p>
        您的钱包余额<i>{{m|price}}元</i>，本次可以使用<i>{{d|price}}元</i>现金券，还差<i>{{cha|price}}元</i>
        </p>
        <div class="order_mask_bot row mg0">
            <span class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <a  class="yucun" ng-click="fastcharge()">立即充值</a>
            </span>
            <span class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <a  class="fanhui" ng-click="close();">返回</a>
            </span>
        </div>
    </div>
</div>
<div class="top kf_top bb1">
    <span class="back col-lg-1 col-md-1 col-sm-2 col-xs-3">
        <img src="{{localurl}}images/back.png" class="back_img" alt="返回" ng-click="back()">
    </span>
    <span class="title col-lg-10 col-md-10 col-sm-8 col-xs-6">{{title}}</span>
    <span class="menu col-lg-1 col-md-1 col-sm-2 col-xs-3"></span>
</div>
    <div id="viewbd" class="weui_tab_bd" when-scrolled="loadMore()">

<div class="pd0 pt53">
    <div class="wallet_top row mg0">
        <div class="wallet_top_div wallet_top_bb1 col-lg-6 col-md-6 col-sm-6 col-xs-6">
            <img src="{{localurl}}images/layout/wallet_balance.png" alt="">
            <p>钱包余额</p>
            <span>{{user.money|price}}</span>
        </div>
        <div class="wallet_top_div wallet_top_bb1 col-lg-6 col-md-6 col-sm-6 col-xs-6">
            <img src="{{localurl}}images/layout/wallet_appointment.png" alt="">
            <p>诚信预约金</p>
            <span>{{pledge|price}}</span>
        </div>
        <div style="clear: both"></div>
        <div class="wallet_top_div col-lg-6 col-md-6 col-sm-6 col-xs-6">
            <img src="{{localurl}}images/layout/wallet_coupon.png" alt="">
            <p>现金券</p>
            <span>{{user.coin|price}}</span>
        </div>
        <div class="wallet_top_div col-lg-6 col-md-6 col-sm-6 col-xs-6" ng-click="go('articleid',{'id':aid})">
            <a  class="wallet_top_div_a">查看现金券使用规则</a>
        </div>
    </div>
    <div class="wallet_apply row mg0">
        <span class="wallet_apply_span col-lg-6 col-md-6 col-sm-6 col-xs-6">
            <a  ng-click="charge=!charge">立即充值</a>
        </span>
        <span ng-show="user.money>0" class="wallet_apply_span col-lg-6 col-md-6 col-sm-6 col-xs-6" ng-click="go('withdrawals')">
            <a >申请提现</a>
        </span>
         <span  ng-show="user.money<=0" class="wallet_apply_span col-lg-6 col-md-6 col-sm-6 col-xs-6">
            <a style="background: #ccc">申请提现</a>
        </span>
    </div>
    <div class="wallet_bot" ng-show="charge">
        <dl class="wallet_dl">
            <dt>请选择充值方式:</dt>
            <dd class="wallet_dd row mg0" ng-click="pay='微信'">
                <span class="left col-lg-1 col-md-1 col-sm-2 col-xs-2">
                    <img src="{{localurl}}images/layout/weixin.png" class="wallet_dd_img" alt="">
                </span>
                <span class="middle col-lg-10 col-md-10 col-sm-8 col-xs-8">微信</span>
                <span class="right col-lg-1 col-md-1 col-sm-2 col-xs-2">
                    <i ng-class="{on:pay=='微信'}"><img src="{{localurl}}images/consult/ok.png" class="wallet_dd_i_img" alt=""></i>
                </span>
            </dd>
            <dd class="wallet_dd row mg0" ng-click="pay='支付宝'">
                <span class="left col-lg-1 col-md-1 col-sm-2 col-xs-2">
                    <img src="{{localurl}}images/layout/alipay.png" class="wallet_dd_img" alt="">
                </span>
                <span class="middle col-lg-10 col-md-10 col-sm-8 col-xs-8">支付宝</span>
                <span class="right col-lg-1 col-md-1 col-sm-2 col-xs-2">
                    <i ng-class="{on:pay=='支付宝'}"><img src="{{localurl}}images/consult/ok.png" class="wallet_dd_i_img" alt=""></i>
                </span>
            </dd>
        </dl>
        <div class="recharge">
            <p>请输入充值金额</p>
            <span>
                <input ng-focus="inputshow($event)" ng-keydown="keyPress($event);" type="tel" class="recharge_input" ng-model="mm">
            </span>
        </div>
        <a  class="recharge_a" ng-click="docharge()">充值</a>
    </div>
    <div class="wallet_balance">
        <dl class="wallet_balance_dl">
            <dt>钱包资金明细：</dt>
            <dd class="wallet_balance_dd row mg0" ng-repeat="m in money">
                <p class="left col-lg-11 col-md-11 col-sm-10 col-xs-9">
                    <span>{{m.add_time}}</span>
                    <strong>{{m.note}}</strong>
                </p>
                <p class="right col-lg-1 col-md-1 col-sm-2 col-xs-3">{{m.moneyvalue|price}}</p>
            </dd>
        </dl>
    </div>
</div>
    </div>
</div>